package ClassDay5;

import ClassDay5.CONFIG.SpringConfig;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TheMain {
    public static void main(String args[]){
        ApplicationContext actx=new AnnotationConfigApplicationContext(SpringConfig.class);
        UserService us=actx.getBean(UserService.class);
        us.MoneySwap("小李","小王",200);
    }
}
